package system

import (
	"encoding/json"
	"sensitives/service/dic"
	"strconv"

	"github.com/gin-gonic/gin"
)

func List(context *gin.Context) {
	siteid, _ := strconv.Atoi(context.Param("siteid"))
	sysdic, _ := json.Marshal(dic.CloudMap[siteid].Sys)
	context.Writer.Write(sysdic)
}
